﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.AndonManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.AndonManagement.IssueTypeVMs
{
    public partial class IssueTypeBatchVM : BaseBatchVM<IssueType, IssueType_BatchEdit>
    {
        public IssueTypeBatchVM()
        {
            ListVM = new IssueTypeListVM();
            LinkedVM = new IssueType_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class IssueType_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._IssueType._IssueName")]
        public string IssueName { get; set; }
        [Display(Name = "_Model._IssueType._Code")]
        public int? Code { get; set; }
        [Display(Name = "_Model._IssueType._ActiveColor")]
        public string ActiveColor { get; set; }
        [Display(Name = "_Model._IssueType._NormalColor")]
        public string NormalColor { get; set; }
        [Display(Name = "_Model._IssueType._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}